import {Controller} from '../../../lib/Controller'
import {M,R} from '../../../lib/Functions'
import {get_table_view_list,backup} from '../../../lib/Db'
import { view_render } from '../../../lib/Functions';
import * as path from 'path'
import Decorator from '../../../lib/Decorator'
export class TestController extends Controller{
    @Decorator.params("Abc")
    @Decorator.requireLogined
    public async test(@Decorator.require Abc:string){
        return Abc;
        // return await view_render(path.join(this._config.root,'a.xtpl'),{a:1})
    }
}